<template>
  <el-config-provider :locale="zhCn">
    <router-view />
  </el-config-provider>
</template>

<script>
import { defineComponent } from 'vue'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
export default defineComponent({
  setup() {
    return {
      zhCn
    }
  }
})
</script>

import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
<style lang="less"></style>
